﻿using Order.Common.Dto;
using Order.Domain.DomainService;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WebApiClient;
using WebApiClient.Attributes;

namespace Order.Common.WebApiClient
{
    public interface ISkuApi : IHttpApi
    {
        [HttpPost("api/product/v1/Sku/stock/cut")]
        [JsonReturn]
        Task<ResponseResult<string>> DeductionStockAsync([JsonContent] List<SkuDto> skuList);

        [HttpGet("api/product/v1/Sku/{skuIds}")]
        [JsonReturn]
        Task<ResponseResult<List<VerifySkuDto>>> GetVerifySkuDto(string skuIds);
    }  
}
